-- GENERATED SPELL FOR [Ironwool Mammoth] --


function spell0_29402(pUnit, Event) --@Ironwool Coat,Self--
pUnit:FullCastSpellOnTarget(56356,pUnit)
pUnit:RegisterEvent('Sorts_29402', 6343, 1)
end

function Sorts_29402(pUnit, Event)
local choix_sorts_29402 = math.random(0, 0)
if choix_sorts_29402 == 0 then
pUnit:RegisterEvent('spell0_29402', 1, 1)
end
end

function mob29402_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29402', math.random(1500, 3000), 1)
end

function mob29402_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29402_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29402_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29402, 1, 'mob29402_Action')
RegisterUnitEvent(29402, 2, 'mob29402_Leave')
RegisterUnitEvent(29402, 3, 'mob29402_Kill')
RegisterUnitEvent(29402, 4, 'mob29402_Die')
